// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Element from 'element-ui';
import VueResource from 'vue-resource';
import 'element-ui/lib/theme-chalk/index.css';
import store from '../store'

import axios from 'axios'
axios.defaults.withCredentials = true

Vue.use(Element);
Vue.use(VueResource);

import $ from 'jquery'

import VueParticles from 'vue-particles'

Vue.use(VueParticles)

require("../mock/mock.js");
Vue.config.productionTip = false

/* eslint-disable no-new */
let vm = new Vue({//默认是没有const vm = 为了方便控制台查看vue中data的情况定义
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
